package com.neusoft.training.podcast.service;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

import com.neusoft.training.podcast.entity.Comment;

public interface CommentService {
	
	void cleanComemnt(Integer commentID);
	
	void deleteComment(Integer commentID);
	
	List<Comment> findAll();
	
	List<Comment> findCommentByContext(String context);
	
	Comment findByID(Integer commentID);
	
	/*
	 * 2018.3.18
	 * @author Cindy*/
	void insert(Integer commentUserID,
			String commentVideoID,
			String context,
			Timestamp commentTime,
			Integer addCommentID,
			Integer commentIsDel);
	
	List<Comment> findCommendByVideoID(String commentVideoID);
	
	List<Comment> findSecondaryComment(String commentVideoID,Integer commentID);
	// end
	
	//llx
	
		List<Comment> findPersonVideoComment(Integer userID);
		
		ArrayList<Integer> findCommentCount(ArrayList<String> videoID);
		
		List<Comment> findSelfComment(Integer userID);
		
		List<Comment> findOtherComment(Integer userID);

}
